package com.dt.system.mapper;

import java.util.List;
import com.dt.system.domain.ModRepositoriesShelves;

public interface ModRepositoriesShelvesMapper 
{
    /**
     * 查询
     * 
     * @param id 主键
     * @return
     */
    public ModRepositoriesShelves selectModRepositoriesShelvesById(Long id);

    /**
     * 查询列表
     * 
     * @param modRepositoriesShelves
     * @return 集合
     */
    public List<ModRepositoriesShelves> selectModRepositoriesShelvesList(ModRepositoriesShelves modRepositoriesShelves);

    /**
     * 新增
     * 
     * @param modRepositoriesShelves
     * @return 结果
     */
    public int insertModRepositoriesShelves(ModRepositoriesShelves modRepositoriesShelves);

    /**
     * 修改
     * 
     * @param modRepositoriesShelves
     * @return 结果
     */
    public int updateModRepositoriesShelves(ModRepositoriesShelves modRepositoriesShelves);

    /**
     * 删除
     * 
     * @param id 主键
     * @return 结果
     */
    public int deleteModRepositoriesShelvesById(Long id);

    /**
     * 批量删除
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteModRepositoriesShelvesByIds(Long[] ids);

    /**
     * 批量添加
     */
    public int batchInsertModRepositoriesShelves(List<ModRepositoriesShelves> dataList);
}
